102 research outputs found

    Oblivious Algorithms for the Max-kAND Problem

    Get PDF

    On streaming approximation algorithms for constraint satisfaction problems

    Full text link
    In this thesis, we explore streaming algorithms for approximating constraint satisfaction problems (CSPs). The setup is roughly the following: A computer has limited memory space, sees a long "stream" of local constraints on a set of variables, and tries to estimate how many of the constraints may be simultaneously satisfied. The past ten years have seen a number of works in this area, and this thesis includes both expository material and novel contributions. Throughout, we emphasize connections to the broader theories of CSPs, approximability, and streaming models, and highlight interesting open problems. The first part of our thesis is expository: We present aspects of previous works that completely characterize the approximability of specific CSPs like Max-Cut and Max-Dicut with n\sqrt{n}-space streaming algorithm (on nn-variable instances), while characterizing the approximability of all CSPs in n\sqrt n space in the special case of "composable" (i.e., sketching) algorithms, and of a particular subclass of CSPs with linear-space streaming algorithms. In the second part of the thesis, we present two of our own joint works. We begin with a work with Madhu Sudan and Santhoshini Velusamy in which we prove linear-space streaming approximation-resistance for all ordering CSPs (OCSPs), which are "CSP-like" problems maximizing over sets of permutations. Next, we present joint work with Joanna Boyland, Michael Hwang, Tarun Prasad, and Santhoshini Velusamy in which we investigate the n\sqrt n-space streaming approximability of symmetric Boolean CSPs with negations. We give explicit n\sqrt n-space sketching approximability ratios for several families of CSPs, including Max-kkAND; develop simpler optimal sketching approximation algorithms for threshold predicates; and show that previous lower bounds fail to characterize the n\sqrt n-space streaming approximability of Max-33AND.Comment: Harvard College senior thesis; 119 pages plus references; abstract shortened for arXiv; formatted with Dissertate template (feel free to copy!); exposits papers arXiv:2105.01782 (APPROX 2021) and arXiv:2112.06319 (APPROX 2022

    Streaming Approximation Resistance of Every Ordering CSP

    Get PDF
    An ordering constraint satisfaction problem (OCSP) is given by a positive integer kk and a constraint predicate Π\Pi mapping permutations on {1,,k}\{1,\ldots,k\} to {0,1}\{0,1\}. Given an instance of OCSP(Π)(\Pi) on nn variables and mm constraints, the goal is to find an ordering of the nn variables that maximizes the number of constraints that are satisfied, where a constraint specifies a sequence of kk distinct variables and the constraint is satisfied by an ordering on the nn variables if the ordering induced on the kk variables in the constraint satisfies Π\Pi. OCSPs capture natural problems including "Maximum acyclic subgraph (MAS)" and "Betweenness". In this work we consider the task of approximating the maximum number of satisfiable constraints in the (single-pass) streaming setting, where an instance is presented as a stream of constraints. We show that for every Π\Pi, OCSP(Π)(\Pi) is approximation-resistant to o(n)o(n)-space streaming algorithms. This space bound is tight up to polylogarithmic factors. In the case of MAS our result shows that for every ϵ>0\epsilon>0, MAS is not 1/2+ϵ1/2+\epsilon-approximable in o(n)o(n) space. The previous best inapproximability result only ruled out a 3/43/4-approximation in o(n)o(\sqrt n) space. Our results build on recent works of Chou, Golovnev, Sudan, Velingker, and Velusamy who show tight, linear-space inapproximability results for a broad class of (non-ordering) constraint satisfaction problems over arbitrary (finite) alphabets. We design a family of appropriate CSPs (one for every qq) from any given OCSP, and apply their work to this family of CSPs. We show that the hard instances from this earlier work have a particular "small-set expansion" property. By exploiting this combinatorial property, in combination with the hardness results of the resulting families of CSPs, we give optimal inapproximability results for all OCSPs.Comment: 23 pages, 1 figure. Replaces earlier version with o(n)o(\sqrt{n}) lower bound, using new bounds from arXiv:2106.13078. To appear in APPROX'2

    Streaming beyond sketching for Maximum Directed Cut

    Full text link
    We give an O~(n)\widetilde{O}(\sqrt{n})-space single-pass 0.4830.483-approximation streaming algorithm for estimating the maximum directed cut size (Max-DICUT\textsf{Max-DICUT}) in a directed graph on nn vertices. This improves over an O(logn)O(\log n)-space 4/9<0.454/9 < 0.45 approximation algorithm due to Chou, Golovnev, Velusamy (FOCS 2020), which was known to be optimal for o(n)o(\sqrt{n})-space algorithms. Max-DICUT\textsf{Max-DICUT} is a special case of a constraint satisfaction problem (CSP). In this broader context, our work gives the first CSP for which algorithms with O~(n)\widetilde{O}(\sqrt{n}) space can provably outperform o(n)o(\sqrt{n})-space algorithms on general instances. Previously, this was shown in the restricted case of bounded-degree graphs in a previous work of the authors (SODA 2023). Prior to that work, the only algorithms for any CSP were based on generalizations of the O(logn)O(\log n)-space algorithm for Max-DICUT\textsf{Max-DICUT}, and were in particular so-called "sketching" algorithms. In this work, we demonstrate that more sophisticated streaming algorithms can outperform these algorithms even on general instances. Our algorithm constructs a "snapshot" of the graph and then applies a result of Feige and Jozeph (Algorithmica, 2015) to approximately estimate the Max-DICUT\textsf{Max-DICUT} value from this snapshot. Constructing this snapshot is easy for bounded-degree graphs and the main contribution of our work is to construct this snapshot in the general setting. This involves some delicate sampling methods as well as a host of "continuity" results on the Max-DICUT\textsf{Max-DICUT} behaviour in graphs.Comment: 57 pages, 2 figure

    Streaming complexity of CSPs with randomly ordered constraints

    Full text link
    We initiate a study of the streaming complexity of constraint satisfaction problems (CSPs) when the constraints arrive in a random order. We show that there exists a CSP, namely Max-DICUT\textsf{Max-DICUT}, for which random ordering makes a provable difference. Whereas a 4/90.4454/9 \approx 0.445 approximation of DICUT\textsf{DICUT} requires Ω(n)\Omega(\sqrt{n}) space with adversarial ordering, we show that with random ordering of constraints there exists a 0.480.48-approximation algorithm that only needs O(logn)O(\log n) space. We also give new algorithms for Max-DICUT\textsf{Max-DICUT} in variants of the adversarial ordering setting. Specifically, we give a two-pass O(logn)O(\log n) space 0.480.48-approximation algorithm for general graphs and a single-pass O~(n)\tilde{O}(\sqrt{n}) space 0.480.48-approximation algorithm for bounded degree graphs. On the negative side, we prove that CSPs where the satisfying assignments of the constraints support a one-wise independent distribution require Ω(n)\Omega(\sqrt{n})-space for any non-trivial approximation, even when the constraints are randomly ordered. This was previously known only for adversarially ordered constraints. Extending the results to randomly ordered constraints requires switching the hard instances from a union of random matchings to simple Erd\"os-Renyi random (hyper)graphs and extending tools that can perform Fourier analysis on such instances. The only CSP to have been considered previously with random ordering is Max-CUT\textsf{Max-CUT} where the ordering is not known to change the approximability. Specifically it is known to be as hard to approximate with random ordering as with adversarial ordering, for o(n)o(\sqrt{n}) space algorithms. Our results show a richer variety of possibilities and motivate further study of CSPs with randomly ordered constraints

    On Sketching Approximations for Symmetric Boolean CSPs

    Get PDF

    On sketching approximations for symmetric Boolean CSPs

    Get PDF
    A Boolean maximum constraint satisfaction problem, Max-CSP(ff), is specified by a predicate f:{1,1}k{0,1}f:\{-1,1\}^k\to\{0,1\}. An nn-variable instance of Max-CSP(ff) consists of a list of constraints, each of which applies ff to kk distinct literals drawn from the nn variables. For k=2k=2, Chou, Golovnev, and Velusamy [CGV20, FOCS 2020] obtained explicit ratios characterizing the n\sqrt n-space streaming approximability of every predicate. For k3k \geq 3, Chou, Golovnev, Sudan, and Velusamy [CGSV21, arXiv:2102.12351] proved a general dichotomy theorem for n\sqrt n-space sketching algorithms: For every ff, there exists α(f)(0,1]\alpha(f)\in (0,1] such that for every ϵ>0\epsilon>0, Max-CSP(ff) is (α(f)ϵ)(\alpha(f)-\epsilon)-approximable by an O(logn)O(\log n)-space linear sketching algorithm, but (α(f)+ϵ)(\alpha(f)+\epsilon)-approximation sketching algorithms require Ω(n)\Omega(\sqrt{n}) space. In this work, we give closed-form expressions for the sketching approximation ratios of multiple families of symmetric Boolean functions. Letting αk=2(k1)(1k2)(k1)/2\alpha'_k = 2^{-(k-1)} (1-k^{-2})^{(k-1)/2}, we show that for odd k3k \geq 3, α(k\alpha(kAND)=αk) = \alpha'_k, and for even k2k \geq 2, α(k\alpha(kAND)=2αk+1) = 2\alpha'_{k+1}. We also resolve the ratio for the "at-least-(k1)(k-1)-11's" function for all even kk; the "exactly-k+12\frac{k+1}2-11's" function for odd k{3,,51}k \in \{3,\ldots,51\}; and fifteen other functions. We stress here that for general ff, according to [CGSV21], closed-form expressions for α(f)\alpha(f) need not have existed a priori. Separately, for all threshold functions, we give optimal "bias-based" approximation algorithms generalizing [CGV20] while simplifying [CGSV21]. Finally, we investigate the n\sqrt n-space streaming lower bounds in [CGSV21], and show that they are incomplete for 33AND.Comment: 27 pages; same results but significant changes in presentatio

    Over-use of thyroid testing in Canadian and UK primary care in frequent attenders : a cross-sectional study

    Get PDF
    Dr Greiver is supported through the Gordon F. Cheesbrough Research Chair in Family and Community Medicine from North York General Hospital.Background Thyroid stimulating hormone (TSH) is a common test used to detect and monitor clinically significant hypo- and hyperthyroidism. Population based screening of asymptomatic adults for thyroid disorders is not recommended. Objective The research objectives were to determine patterns of TSH testing in Canadian and English primary care practices, as well as patient and physician practice characteristics associated with testing TSH for primary care patients with no identifiable indication. Methods In this two-year cross-sectional observational study, Canadian and English electronic medical record databases were used to identify patients and physician practices. Cohorts of patients aged 18 years or older, without identifiable indications for TSH testing, were generated from these databases. Analyses were performed using a random-effects logistic regression to determine patient and physician practice characteristics associated with increased testing. We determined the proportion of TSH tests done concurrently with at least one common screening blood test (lipid profile or hemoglobin A1c). Standardized proportions of TSH test per family practice were used to examine the heterogeneity in the populations. Results At least one TSH test was done in 35.97 % (N=489,663) of Canadian patients and 29.36% (N=1,030,489) of English patients. Almost all TSH tests in Canada and England (95.69% and 99.23% respectively) were within the normal range (0.40-5.00 mU/L). A greater number of patient-physician encounters was the strongest predictor of TSH testing. 51.40% of TSH tests in Canada and 76.55% in England were done on the same day as at least one other screening blood test. There was no association between practice size and proportion of asymptomatic patients tested. Conclusions This comparative binational study found TSH patterns suggestive of over-testing and potentially thyroid disorder screening in both countries. There may be significant opportunities to improve appropriateness of TSH ordering in Canada and England and therefore improve allocation of limited system resources.PostprintPeer reviewe
    corecore